<?php
/**
 * Created by PhpStorm.
 * User: kb130
 * Date: 2017/8/21
 * Time: 13:49
 */

namespace util\validate\rules;


abstract class BaseRule implements IRules
{
    protected $value;
    protected $params;

    public function __construct($value, $params = null)
    {
        $this->value = $value;
        $this->params = $params;
    }
}